<%@page contentType="text/html" pageEncoding="UTF-8" %>
<!DOCTYPE html>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JSP Page</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 0;
        }

        .nav-menu {
            background-color: #333;
            color: white;
            width: 100%;
            position: fixed;
            top: 0;
            left: 0;
            height: 100%;
            overflow: auto;
        }

        .nav-menu a {
            color: white;
            text-decoration: none;
            padding: 15px;
            display: block;
        }

        .nav-menu a:hover {
            background-color: #555;
        }

        .nav-menu div {
            padding: 15px;
            background-color: #333;
        }
    </style>
</head>
<body bgcolor="#CCCFFF">
<%
    String userName = request.getParameter("userName");
%>
<div class="nav-menu">
    <div>欢迎，<%=userName%>登录系统</div>
    <a href="http://localhost/lookMessageController/lookMessage?userName=<%=userName%>" target="main">个人信息管理</a>
    <a href="http://localhost/LookFriendController/lookFriend" target="main">通讯录管理</a>
    <a href="http://localhost/LookDateController/lookDate" target="main">日程安排管理</a>
    <a href="http://localhost/FileDownController/fileDown" target="main">个人文件管理</a>
    <a href="http://localhost/login.jsp" target="_top">退出主页面</a>
</div>
</body>
</html>
